package com.ys.homework;

/**
 * @author CodeYang
 * @Description
 * @Date 2020/12/14 19:53
 */
public class Person {

    String  name ;
    int age ;

    public Person() {
    }

    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }

    void display(){
        System.out.println("name = " + name);
        System.out.println("age = " + age);
    }
}
